﻿<Window x:Class="ElisVK.MainWindow"
    xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
    xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
    xmlns:TaskbarNotification="clr-namespace:TaskbarNotification;assembly=TaskbarNotification"
    xmlns:wf="clr-namespace:System.Windows.Forms;assembly=System.Windows.Forms"
        Title="ElisVK" WindowStartupLocation="CenterScreen" Loaded="Window_Loaded">
    <Grid>
        <TaskbarNotification:TaskbarIcon x:Name="notifyIcon" TrayMouseDoubleClick="notifyIcon_TrayMouseDoubleClick">
            <TaskbarNotification:TaskbarIcon.TrayToolTip>
                <Border Background="White" BorderBrush="Black"  BorderThickness="2" CornerRadius="4"
                        Opacity="0.9">
                    <TextBlock x:Name="txtToolTip" HorizontalAlignment="Center" VerticalAlignment="Center"
                               Text="{Binding Path=ToolTipText, Mode=TwoWay}"/>
                </Border>
            </TaskbarNotification:TaskbarIcon.TrayToolTip>
            <!--<tb:TaskbarIcon.ContextMenu>
                <ContextMenu>
                    <MenuItem Header="Play" Icon="Resources\Play.png"/>
                    <MenuItem Header="Second Menu Item" />
                </ContextMenu>
            </tb:TaskbarIcon.ContextMenu>-->
        </TaskbarNotification:TaskbarIcon>
        <DockPanel LastChildFill="True" x:Name="autorizationContainer">
            <TextBlock HorizontalAlignment="Center" DockPanel.Dock="Top" Margin="5" Text="Authorization:" FontSize="24"></TextBlock>
            <WindowsFormsHost DockPanel.Dock="Bottom">
                <wf:WebBrowser x:Name="webBrowser"/>
            </WindowsFormsHost>
        </DockPanel>
        <DockPanel Name="Panel" Visibility="Hidden" LastChildFill="True">            
        </DockPanel>
    </Grid>
    
</Window>
